package org.finalministry.database.dao;

import org.finalministry.database.connection.IDatabaseConnection;

public abstract class BaseDAO {

	private IDatabaseConnection connection;

	private Long congregationID;

	public BaseDAO(IDatabaseConnection connection) {
		this.connection = connection;
	}

	public IDatabaseConnection getConnection() {
		return connection;
	}

	public void setConnection(IDatabaseConnection connection) {
		this.connection = connection;
	}

	public Long getCongregationID() {
		return congregationID;
	}

	public void setCongregationID(Long congregationID) {
		this.congregationID = congregationID;
	}
}
